FUNCTION
get_current_operation
function get_current_operation(): gtx_operationGet a struct representing the current operation.
Returns
a gtx_operation, i.e. a struct with two members:
name, the mount name of the current operation astext; andargs, the list of arguments provided to the operation (a list of GTV-formatted text values).
Throws
exception— if there is no operation context
Since
0.13.3
© 2026 Chromia